Fix the build
authorMatthias Clasen <mclasen@redhat.com>
Thu, 30 Nov 2017 01:12:43 +0000 (20:12 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 30 Nov 2017 01:12:43 +0000 (20:12 -0500)
tests/testdnd.c

index c95817a21a438419a8a011fc372596cf57163d00..04ec5bf4674556bf770846d607c082bc3ed8b35b 100644 (file)
@@ -662,7 +662,7 @@ main (int argc, char **argv)
   gtk_drag_source_set_icon_surface (button, surface);
   gdk_content_formats_unref (targets);
 
-  cairo_destroy (surface);
+  cairo_surface_destroy (surface);
 
   gtk_widget_set_hexpand (button, TRUE);
   gtk_widget_set_vexpand (button, TRUE);